package cn.kgc.service.impl;

import cn.kgc.bean.pojo.CCourt;
import cn.kgc.mapper.CourtMapper;
import cn.kgc.service.CourtService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class CourtServiceImpl implements CourtService {
    @Resource
    private CourtMapper courtMapper;
    @Override
    public List<CCourt> getAllCourt() {
        return courtMapper.getAllCourt();
    }
}
